import instance from ".."

export function addEventHttp(
  user_id,
  event_type,
  event_addr,
  event_mark,
  event_describe,
  event_status,
  user_name
) {
  return instance({
    url: `/event`,
    method: "post",
    data: {
      user_id: user_id,
      event_type: event_type,
      event_addr: event_addr,
      event_mark: event_mark,
      event_describe: event_describe,
      event_status: event_status,
      user_name,
    },
  })
}
